package com.xm.settlement.service.impl;

import com.baomidou.framework.service.impl.SuperServiceImpl;
import com.xm.settlement.mapper.AppUserManageMapper;
import com.xm.settlement.model.AppRecharge;
import com.xm.settlement.model.AppUserManage;
import com.xm.settlement.model.vo.AppUserVo;
import com.xm.settlement.service.AppUserManageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/2/13.
 */
@Service
public class AppUserManageServiceImpl extends SuperServiceImpl<AppUserManageMapper,AppUserManage> implements AppUserManageService {

    @Autowired private AppUserManageMapper appUserManageMapper;

    @Override
    public int updateAppUserManageByVipCode(AppUserManage appUserManage) {
        return  appUserManageMapper.updateAppUserManageByVipCode(appUserManage);
    }

    @Override
    public void updateAppUserManageInVipCode(Map map) {
        appUserManageMapper.updateAppUserManageInVipCode(map);
    }

    @Override
    public void updateAppUserManageByObject(AppUserVo appUserVo) {
        appUserManageMapper.updateAppUserManageByObject(appUserVo);
    }

    @Override
    public void updateAppUserDirectNumInVipCode(Map map) {
        appUserManageMapper.updateAppUserDirectNumInVipCode(map);
    }

    @Override
    public void updateAppUserManageLevelByVipCode(Map map) {
        appUserManageMapper.updateAppUserManageLevelByVipCode(map);
    }

    @Override
    public void updateRechargeByObject(AppUserManage appUserManage2) {
        appUserManageMapper.updateRechargeByObject(appUserManage2);
    }

    @Override
    public void updateShopScoreByList(List<AppRecharge> appRecharges) {
        appUserManageMapper.updateShopScoreByList(appRecharges);
    }

    @Override
    public void updateReduceShop(AppUserManage appUserManage) {
        appUserManageMapper.updateReduceShop(appUserManage);
    }



}
